package guo.tts.service;

import java.util.List;

import guo.tts.dao.BuyTicketDao;
import guo.tts.domain.TicketRecord;
import guo.tts.domain.User;

public class BuyTicketService {
	private BuyTicketDao buyTicketDao=new BuyTicketDao();
	public List<User> quaryUserAll(User user){
		return buyTicketDao.quaryUserAll();
		
	}
	public int addUser(User user){
		return buyTicketDao.addUser(user);
		
	}
	public  List<User> queryIdByPhone(User user){
		return buyTicketDao.queryIdByPhone(user);
		
	}
	public int addTicketRecord(TicketRecord record){
		return buyTicketDao.addTicketRecord(record);
		
	}

}
